﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class RecordUserLeave
    {
        public const string TABLE_NAME = "RecordUserLeave";
        public const string INSERT_SQL = "insert into RecordUserLeave([RecordID],[UserID],[Score],[Revenue],[KindID],[ServerID],[PlayTimeCount],[OnLineTimeCount],[LeaveTime]) values (@RecordID,@UserID,@Score,@Revenue,@KindID,@ServerID,@PlayTimeCount,@OnLineTimeCount,@LeaveTime)";
        public const string UPDATE_SQL = "UPDATE RecordUserLeave SET [RecordID]=@RecordID,[UserID]=@UserID,[Score]=@Score,[Revenue]=@Revenue,[KindID]=@KindID,[ServerID]=@ServerID,[PlayTimeCount]=@PlayTimeCount,[OnLineTimeCount]=@OnLineTimeCount,[LeaveTime]=@LeaveTime where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int RecordID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public double Score
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public double Revenue
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int KindID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int ServerID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int PlayTimeCount
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int OnLineTimeCount
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime LeaveTime
        {
            get;
            set;
        }
    }

}
